﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Nova_BLL
{
    public class TCusForPos
    {
        DataSet ds = null;
        Nova_DAL.TCusForPos Nova_DAL_TCusForPos = new Nova_DAL.TCusForPos();
        ///<summary>
        ///获取客户供应商列表
        ///</summary>
        ///<returns>返回DataSet</returnss>
        ///Writer：[夏鑫]
        ///Create Date： [2010-7-15]
        ///</summary>
        public DataSet ListTCusForPos()
        {
            try
            {
                ds = Nova_DAL_TCusForPos.ListTCusForPos();
            }
            catch (Exception ex)
            {
                Console.Write(ex.ToString());
            }
            return ds;
        }

        ///<summary>
        ///获取客户供应商信息
        ///</summary>
        ///<returns>返回颜色</returnss>
        ///Writer：[夏鑫]
        ///Create Date： [2010-7-15]
        ///</summary>
        public string strShowColor(int iPID)
        {
            string strColor = "";
            try
            {
                strColor = Nova_DAL_TCusForPos.strShowColor(iPID);
            }
            catch (Exception ex)
            {
                Console.Write(ex.ToString());
            }
            return strColor;
        }
    }
}
